interface FetchClassNewsDetailAPIResData {
  code: number
  msg: string
  time: string
  data: ClassNewsDetail
}

export function fetchClassNewsDetailAPI(classId: string, token: string) {
  return httpInstance.get<FetchClassNewsDetailAPIResData>(
    '/api/classes/classtrendsdetail',
    { params: { id: classId }, headers: { token } },
  )
}
